package com.hmdp.utils;

public interface ILock {


    //创建锁
    Boolean tryLock(long timeOutSec);//timeOutSec锁的过期时间


    //释放锁
    void unlock();


}
